package com.chb.abstractfactory;

/**
 * @author chihb
 * @create-time 2024/10/23 9:04
 * @description
 */
public class FactoryA implements Factory{
    @Override
    public Drink createDrink() {
        return new Sprite();
    }

    @Override
    public Snack createSnack() {
        return new Cookie();
    }
}
